package com.hzxy.yiyid.web.common.constants;

/**
 * @ClassName YiyidConstants
 * @Description TOOD
 * @Author RAICOM2023
 * @Date 2023/4/28 21:09
 * @Version 1.0
 **/
public class YiyidConstants {
    /**
     * 时间格式
     */
    public static final String DATE_FORMAT_DEFAULT_VIEW = "yyyy-MM-dd HH:mm:ss";
    public static final String DATE_FORMAT_DEFAULT_VIEW2 = "yyyy-MM-dd";

    /**
     * 后缀类型
     */
    public static final class SUFFIX {
        /**
         * 导入excel文件后缀类型
         */
        public static final String EXCEL = "xls|xlsx";
        /**
         * 导入csv文件后缀类型
         */
        public static final String CSV = "csv";
        /**
         * 图片文件后缀类型
         */
        public static final String IMAGE = "jpg|jpeg|png|bmp";
        /**
         * txt文件后缀类型
         */
        public static final String TXT = "txt";
        /**
         * PDF
         */
        public static final String PDF = "pdf";
        /**
         * DOC
         */
        public static final String DOC = "doc";
        /**
         * DOCX
         */
        public static final String DOCX = "docx";
    }

    /**
     * 操作成功返回字符串
     */
    public static final String SUCCESS_STRING = "操作成功";
}
